#ifndef AVALON_SERIALIZATIONEXCEPTION_HPP
#define AVALON_SERIALIZATIONEXCEPTION_HPP
#include <stdexcept>
#include "Avalon/Serialization/Serialization.hpp"

namespace Avalon {
namespace Serialization {

  /*! \class SerializationException
   *  \brief Indicates that a serialization operation failed.
   */
  class SerializationException : public std::runtime_error,
      public boost::exception {
    public:

      //! Constructs a SerializationException.
      /*!
        \param what The error message.
      */
      SerializationException(const std::string& what);

      virtual ~SerializationException() throw();
  };
}
}

#endif // AVALON_SERIALIZATIONEXCEPTION_HPP
